import { _decorator, Component, Node } from 'cc';
import { BaseWxPage } from './BaseWxPage';
const { ccclass, property } = _decorator;

@ccclass('CustomAdPage')
export class CustomAdPage extends BaseWxPage {

    public OnShow() {
        // var value = 0;
        // var time = wxsdk.GetConfigById(`${this.node.name}_${this._index}_BtnTime`);
        // if (time) {
        //     this.ClickNode.node.active = false
        //     setTimeout(() => {
        //         this.SetButton()
        //     }, value * 1000);
        // }
    }

    public OnBtnClick() {
        this.Hide();
    }

    public OnHide() {
    }
}

